package yi.wuhenbot.Character;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wuhen
 */
@RestController
@RequestMapping("/character")
public class characterController {

    @Autowired
    private Character character;

    @RequestMapping("/test")
    public String test() {
        return   character.twoPersonFight();
    }

}
